package com.kuaiditu.assistant.api;

import com.kuaiditu.assistant.api.assistant_api.base.AssistantResponse;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

/**
 * Created by Eenie on 2017/6/7.
 * Email: eeniework@gmail.com
 * Des:
 */

public interface FileService {


    @Multipart
    @POST("CommonOutApi/kdtOutApi/uploadPicture")
    Observable<AssistantResponse> uploadImage( @Part MultipartBody.Part params, @Part MultipartBody.Part file);

}
